build: Use pkg-config to find Vulkan
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 5 Feb 2018 11:42:02 +0000 (11:42 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 5 Feb 2018 14:01:59 +0000 (14:01 +0000)
commit3b0e6720af4b92d900f0ee2dd8937b360ffbf052
treea55760a678db9352d288629d3b3af181bb9191d0
parentbfcb9780791c4ca00b054874c03d9a3722771ea8
build: Use pkg-config to find Vulkan

The standard Vulkan SDK ships with a pkg-config file, like a modern
library should.

We should fall back to finding the library and header only for platforms
where pkg-config is not really a thing.

Based on a patch by: Daniel Stone <daniels@collabora.com>

https://bugzilla.gnome.org/show_bug.cgi?id=793181
gdk/meson.build
meson.build